/**
* The AccountTester class tests the Account class
*/
class AccountTester {
	public static void main(String[] args) {
		Account keshaAccount;

		keshaAccount = new Account(1000.00);
		System.out.println("Kesha's account balance: " + keshaAccount.getBalance());
		System.out.printf("Kesha's account balance (two decimal points): %.2f\n", keshaAccount.getBalance());
		keshaAccount.deposit(3000.10);
		System.out.println("Kesha's account balance: " + keshaAccount.getBalance());
		System.out.printf("Kesha's account balance (two decimal points): %.2f\n", keshaAccount.getBalance());

		Account johnAccount = new Account();
		System.out.println("John's account balance: " + johnAccount.getBalance());
		System.out.printf("John's account balance (two decimal points): %.2f\n", johnAccount.getBalance());
		johnAccount.close();
		System.out.println("John's account balance: " + johnAccount.getBalance());
		System.out.printf("John's account balance (two decimal points): %.2f\n", johnAccount.getBalance());

		System.out.println("The balance without cents is: " + AccountHelper.removeDecimal(keshaAccount.getBalance()));
	}
}
